package com.example.shoppingmall.service;

import com.example.shoppingmall.dao.ModuleMapper;
import com.example.shoppingmall.pojo.Module;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ModuleService {
    @Autowired
    private ModuleMapper moduleMapper;

    public List<Module> list(){
        return moduleMapper.list();
    }
}
